import request from '@/utils/request';

// 支付方式列表
export const payMethodList = params => request({
    url: '/business/payMethod/list',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 支付方式新增
export const payMethodAdd = params => request({
    url: '/business/payMethod/add',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 支付方式更新
export const payMethodUpdate = params => request({
    url: '/business/payMethod/update',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 支付方式删除
export const payMethodDel = params => request({
    url: '/business/payMethod/del',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 支付方式导出
export const payMethodExport = params => request({
    url: '/business/payMethod/export',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 支付方式导入
export const payMethodImp = params => request({
    url: '/business/payMethod/imp',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 支付方式详情
export const payMethodDetail = params => request({
    url: '/business/payMethod/get',
    method: 'GET',
    params
});
